<!--{eval $page_title=$task_info['task_title'].'--'.$_K['html_title'];}-->
<!--{template header}-->
<link rel="stylesheet" type="text/css" href="static/js/jqplugins/fancybox/jquery.fancybox-1.3.4.css" media="screen">
<script src="static/js/jqplugins/fancybox/jquery.fancybox-1.3.4.js" type="text/javascript"></script>
<script src="static/js/jqplugins/fancybox/jquery.mousewheel-3.0.4.pack.js" type="text/javascript"></script>
<link href="static/js/jqplugins/visualize/visualize.css" rel="stylesheet" type="text/css">
<!--公用样式-->
 <!--页面内容区-->
 <div class="wrapper">
  <!--页面头部-->
  <header class="clearfix page_header">
  <div class="container_24 clearfix">
   
   <div class="clearfix po_re" >
   	<!--面包屑-->
			     <div class="breadcrumbs clearfix">
				      <a href="{$_K['siteurl']}/index.php">{$_lang['home']}</a> &gt;
					  <a href="{$_K['siteurl']}/index.php?do=tasklist&path=B{$model_id}">{$_lang['task_hall']}</a> &gt;
					  <a href="{$_K['siteurl']}/index.php?do=tasklist&path=A{$task_info['indus_pid']}B{$model_id}">{$indus_p_arr[$task_info['indus_pid']]['indus_name']}</a> &gt;
						<a href="{$_K['siteurl']}/index.php?do=tasklist&path=A{$task_info['indus_pid']}B{$model_id}">{$indus_arr[$task_info['indus_id']]['indus_name']}</a>
				   </div>
			  <!--end 面包屑-->
		<div class="grid_19" id="taskScroll">
			
			<div class="mre_l_con clearfix">
				
			  <div  id="taskScroll">
				   <div class="page_title ws_break clearfix">
					    <h2 class="title">
					    	<strong class="red mr_10">{c:$task_info['task_cash']}</strong>
                			<a href="index.php?do=task&id={$task_id}">{$task_info['task_title']}</a>
					    </h2>
					    <div class="page_sub_title c666 mb_10">
					       <span>任务发布时间：<!--{date('Y-m-d H:i:s',$task_info['start_time'])}--></span>
						   <span class="border_l_c mar10">&nbsp;</span>
					       <a class="mre_task_kind c333" href="javascript:void(0);" title="<p class='pad5'>淘宝任务</p>">{$model_list[$task_info['model_id']]['model_name']}{$_lang['model']}<span>&nbsp;</span></a>
					       <span class="border_l_c mar10">&nbsp;</span>
					       <span>{$_lang['id']}{$_lang['zh_mh']}#{$task_id}</span>
						  
						   <span class="border_l_c mar10">&nbsp;</span>
						    <span>{$task_info['view_num']} 人浏览</span>
						    <span class="border_l_c mar10">&nbsp;</span> 
						     {if $show_payitem}
							   <span class="border_l_c mar10">&nbsp;</span>
						       <span>{$show_payitem}</span> 
						       
						   {/if}
						</div>
				    </div>
			</div>
			</div>
		</div>
		<div class="grid_5">
		<div class="mre_r_con clearfix">
			<div class="control clearfix">
		      <!--start提交稿件-->
		     	{if $process_can['work_hand']}
					{if $union_hand}
						<a href="{$union_hand}" class="submit block">{$process_desc['work_hand']}</a>
					{else}
						<a href="javascript:void(0)" onclick="workHand();" class="submit block">{$process_desc['work_hand']}</a>
					{/if}
				{/if}
			  <!--end 提交稿件-->
		      <!--start延期加价-->
		     	{if $process_can['delay']}
					<a href="javascript:void(0)" onclick="taskDelay();" class="submit block">{$process_desc['delay']}</a>
				{/if}
			  <!--end 延期加价-->
			  <div class="clearfix mt_5">
				  <div class="msg msg_ok block ">
				  	{$time_desc[ext_desc]}
				  </div>
				 {if $task_status>1&&$task_status<8}
				  <div>
					  	<span class="c333">{$time_desc[time_desc]}</span>
					    <span class="red d_time" ed="{$time_desc['time']}" title="{$_lang['haved']}{$time_desc[desc]}"></span>
				  </div>
				  {/if}
			  </div>
		     </div>
		</div>
	</div>
	</div>
   
   
	<div class="clear"></div>
    <!--页面子导航-->
	<div id="header_nav" class="po_re grid_19">
     <nav class="clearfix page_nav po_re" id="top_nav">
       <ul>
         <li {if !$view||$view=='base'}class="selected"{/if}>
         	<a href="{$basic_url}" title="{$_lang['description']}">
            	<div class="icon16 notepad-2 mr_5"></div> {$_lang['description']}
            </a>
         </li>
         <li {if $view=='work'}class="selected"{/if}>
         	<a href="{$basic_url}&view=work" title="{$_lang['work']}[{$task_info['work_num']}]">
            	<div class="icon16 spechbubble-sq-line mr_5"></div>{$_lang['work']} <span class="c999">[{$task_info['work_num']}]</span>
            </a>
         </li>
		 	 {if $uid==$task_info['uid']}<li {if $view=='tools'} class="selected" {/if}><a href="{$basic_url}&view=tools" ><span class="icon16 spechbubble-2 mr_5">icon</span> {$_lang['tools']}<span class="c999"></span></a></li>{/if}
        
        <!--  <li class="border_n">
         	<a href="javascript:void(0);" title="{$_lang['stay_left']}">
            	<div class="icon16 arrow-bottom-left block"  id="arrow-bottom-left">{$_lang['stay_left']}</div>
            </a>
         </li> -->
	
		 
       </ul>
	 </nav>
	 <!--end 页面子导航-->
     <div class="clear"></div>
    
	</div>
    
   <div class="clear"></div>
  </div> 
 </header>
 <!--end 页面头部-->
 <!--详细内容区-->
  <section class="content">
  <!--布局框-->  
  <div class="container_24">
  	<!--章节1-->
   <section class="clearfix section">
  	<!--左边导航 start-->
	<!-- <div class="second_menu container_24 po_ab hidden" id="left_nav">
        <div class="suffix_23 pull_1">
            <nav class="minor_nav box">
                <ul class="nav_group">
                   <li >
			         	<a href="{$basic_url}" title="{$_lang['description']}" {if !$view||$view=='base'}class="selected"{/if}>
			            	<div class="icon16 notepad-2 mr_5 block">描</div>
			            </a>
			         </li>
			         <li>
			         	<a href="{$basic_url}&view=work" title="{$_lang['work']}[{$task_info['work_num']}]" {if $view=='work'}class="selected"{/if}>
			            	<div class="icon16 spechbubble-sq-line mr_5 block">稿</div>
			            </a>
			         </li>
			        
			        {if $uid==$task_info[uid]}
					 <li>
					 	<a href="{$basic_url}&view=tools" {if $view=='tools'} class="selected" {/if} title="工具">
					 		<div class="icon16 box mr_5 block">工</div>
						</a>
						</li>
					{/if}
                </ul>
                <ul class="nav_group">
					<li>
			         	<a href="javascript:void(0);" class="" title="{$_lang['stay_top']}">
			            	<div class="icon16 arrow-top-right block" id="arrow-top-right">停</div>
			            </a>
			         </li>
                </ul>
            </nav>
        </div>
    </div> -->
  	<!--左边导航 end-->

   
    <!---->
    <div class="show_panel container_24 ">
     {if !$view||$view=='base'}
	 <div class="grid_19">
	 <div class="panel clearfix box">
      
      <!--布局 左-->
       <div class="clearfix">
        <!--布局 内边距-->
         <div class="pad20">
          <!--标题头部-->
         <header class="hidden">
          <div class="pad5 border_b_c po_re clearfix">
            <h2>{$_lang['info']}</h2>
          </div>  
        </header>
       <!--end 标题头部-->
	   {if $assign==1}<!--影响力模式-->
	   <details open class="mb_20">
	  		<summary  class="fontb">任务信息</summary>
			<input id="wb_platform" name="wb_platform" type="hidden" value="{$weibo_arr['wb_platform']}" />
	  		<ul class=" clearfix">
	  			<li class="col3">{$_lang['platform']}：
         		{loop $weibo_plat $value}
         			<img src="resource/img/ico/{$value}_t.gif" alt="{$value}" title="{$value}" />
         		{/loop}
				</li>
				<li class="col3">{$_lang['task_cash']}：<span class="cf60">{c:$task_info['task_cash']}</span></li>
				<li class="col3">{$_lang['syje']}：<span class="cc00">{c: $task_info['task_cash']-$task_info['pay_amount']}</span></li>
			</ul>
	  </details>
	  	  <!--任务地图-->
	{if $task_info['point']}
	<details open  class="map">       
        <summary class="pad5 fontb">{$_lang['task_map']}<em class="c999 font_normal"></em></summary> 
		{if $_K['map_api']=='baidu'}
		<!--{template tpl/default/task/task_info_map_baidu}-->
		{else}
		<!--{template tpl/default/task/task_info_map_google}-->
		{/if}   
		<div>地址：$task_info['city']</div>    
    </details>	
	{/if}
	<!--end任务地图-->
       <!--内容1-->
       <details open class="mb_20 " id="details">
       <!--标题-->
        <summary  class="fontb">{$_lang['task_require']}</summary>
			<div class="img_box">
				<!--微博图片-->
				<img src="{$task_info['wb_img']}"  alt=''>
				<!--微博图片-->
			</div>
         <!--内容-->
	
         	<pre class="ws_prewrap ws_break">$task_info['task_desc']</pre>
      </details>
      <!--end 内容1-->
	  <details open class="mb_20">
	  	<summary  class=" fontb">影响力与赏金对应关系：</summary>
			<div class="fan ">
			<ol class="fans clearfix"> 
				{$fans_part_str}
			</ol>
			</div>
	  </details>
	{else}
	<!--点击模式-->
	   <details open class="mb_20">
	  		<summary  class="fontb">任务信息</summary>
	  		<ul class="clearfix">
	  			<li class="col2">投放平台：
         		{loop $weibo_plat $key $value}
         			<img src="resource/img/ico/{$value}_t.gif" alt="{$web_arr[$value][name]}">
         		{/loop}
				</li>
				<li class="col2">赏金总额：<span class="cf60">{c:$task_info['task_cash']}</span></li>
				<li class="col2">{$_lang['click_price']}：<span class="c396">{c:$task_info['unit_price']}</span></li>
				<li class="col2">{$_lang['syje']}：<span class="cc00">{c:$task_info['sy_amount']}</span></li>
				<li class="col1">到期时间：<!--{date('Y-m-d',$task_info['start_time'])}-->至<!--{date('Y-m-d',$task_info['end_time'])}--></li>
			</ul>
	  </details>
	  <details open class="mb_20">
	  	<summary  class="fontb">微博内容</summary>
	  		<input id="wb_platform" name="wb_platform" type="hidden" value="{$weibo_arr['wb_platform']}" />
			
			<pre class="ws_prewrap ws_break">
				<!--{eval echo kekezu::escape($task_info['wb_content'])}-->
			</pre>
			<div class="img_box">
			<!--微博图片-->
			<img src="{$task_info['wb_img']}"  alt=''>
			<!--微博图片-->
			</div>
	  </details>
 {/if}
	  <details open class="mb_20">
	  	<summary  class="fontb">推广链接</summary>
			<div ><a href="{$task_info['prom_url']}" target="_blank">点击了解网站详情 GO</a></div>
	  </details>
      <!--start补充需求-->
     	{if $process_can['reqedit']}<!-- {/*判断用户操作权限*/}  -->
			<a href="javascript:void(0)" onclick="taskReqedit();" class="button">{if $task_info['ext_desc']}$_lang['edit_add_need']{else}{$process_desc['reqedit']}{/if}</a>
		{/if}
	  <!--end 补充需求-->
	  <!--任务补充需求-->
	  {if $task_info[ext_desc]}
      <details open  class="mb_20">
       <!--标题-->
         <summary class="fontb">{$_lang['supply_description']}<em class="c999 font_normal">{$_lang['des_zc']}</em></summary>
		 
            <pre class="ws_prewrap ws_break"  id="reqedit"><!--{eval echo kekezu::escape($task_info['ext_desc'])}--></pre>
      </details>
	  {/if}
     <!--end 任务补充需求-->
	
     <!--任务附件-->
	 {if $task_info[task_file]}
     <details open  class="mb_20" id="file">
     <!--标题-->
     <summary class="fontb">{$_lang['attachment']}</summary>
      <div class="affix pl_10">
       <ul>
        	{loop $task_file $v}
			<!--{eval $v['file_name_ext']=urlencode($v['file_name']);}-->
	          <li>
	             <a id="ddd" target="_blank" href="index.php?do=ajax&view=file&ajax=download&file_name={$v['file_name_ext']}&file_path={$v['save_name']}#file" >
	             	{$v['file_name']}<span class="c999">（<!--{eval echo is_file($v['save_name'])?kekezu::get_format_size(filesize($v[save_name])):''}-->）</span><span class="icon16 download"></span></a>
	          </li>
			{/loop}
      </ul>
     </div>
   </details>
   {/if}
    <!--end 任务附件-->
	

	
   </div>
   <!--end 布局 内边距-->
  </div>
  <!--工具栏-->
      <div class="operate fl_r mt_10 hidden">

        <a href="index.php" class="" title="{$_lang['return_home']}"><div class="icon16 home">{$_lang['return_home']}</div></a>

        <a href="javascript:void(0)" class="scrollTop" title="{$_lang['return_top']}"><div class="icon16 arrow-top">{$_lang['return_top']}</div></a>
      </div>
    <!--end 工具栏-->
  </div>
  </div>
  	<!--end 布局 左-->
	<div class="grid_5  clearfix mre_btns">
		 	<!--作者信息-->
            	<div class="shop_author box normal2 clearfix mb_10">
            	<div class="inner">
            		<div class="box_header">
                	<h2 class="title">雇主信息</h2>
                	</div>
                	
					<div class="pad5 clearfix border_b_c">
					<div class="clearfix">
                        <div class="t_c fl_l mr_10">
                                <!--{userpic($task_info['uid'],'small')}-->
                        </div>
						<p class="shop_sign fl_l">
                            <a href="index.php?do=seller&id={$task_info['uid']}" class="font14b block" target="_blank">{$task_info[username]}</a>
							<!--{eval $user_leve=unserialize($sub_task_user_level['buyer_level'])}-->{$user_leve['pic']}
                        </p>
					</div>
                    <p>
                    	<!--卖家的认证信息-->
                        {loop $auth_info $k $v}
							<a href="javascript:void(0)" title="{$v['auth_title']}" class="mr_5">
								<img src="{$_K['siteurl']}/{$v['auth_small_ico']}" alt=''>
							</a>
						{/loop}
                    </p>
					<p  class="clearfix"><span class="fl_l">{$_lang['good_rate']}{if $g_info['buyer_total_num']}</span><span class="cc00 ml_10 pl_5 fl_l"><!--{eval echo number_format($g_info['buyer_good_num']/$g_info['buyer_total_num'],4)*100}-->{else}0{/if}%</span>
					{if $square_open&&$task_info[uid]!=$uid}
								<!--{eval $weth = kekezu::get_if_focus($uid,$task_info['uid']);}-->
								{if !$weth}
								<a href="javascript:void(0);" class="fl_r" onclick="add_follow('add_focus','{$task_info[uid]}');"  id="add_follow_{$task_info['uid']}">加关注</a></p>
								{else}
								<a href="javascript:void(0);" class="fl_r" onclick="follow('remove_focus','{$task_info[uid]}');" id="add_follow_{$task_info['uid']}">取消关注</a>
								{/if}
							{/if}
					</p>
					<!--{eval echo $task_obj->em_mark()}-->        
            	</div>
					<div class="shop_author_link clearfix">
						<a href="index.php?do=seller&id={$g_info['uid']}" target="_blank" class="fl_l">查看店铺空间</a>
						<a href="javascript:void(0)" onclick="sendMessage($task_info['uid'],'$task_info[username]')" class="fl_r">{$_lang['send_web_msg']}</a>
					</div>
				</div>
			</div>	
            <!--end 作者信息-->
			<div class="">
				{if $process_can['task_audit']}
				<a class="button block" href="javascript:misc(1)">
					<span class="round-checkmark  icon16"></span>
					 审核通过
				</a>
				<a class="button block" href="javascript:misc(2)">
					<span class="round-delete  icon16"></span>
					 审核不通过
				</a>
				{/if}
				{if $process_can['task_recommend']}
				<a class="button block" href="javascript:misc(3)">
					<span class="hand-pro  icon16"></span>
					 推荐任务到首页
				</a>
				{/if}
				<!-- 
				{if $process_can['task_freeze']}
				<a class="button block" href="javascript:misc(4)">
					<span class="padlock-closed  icon16"></span>
					 冻结任务
				</a>
				{/if}
				 -->
				
			</div>
			{if $process_can['tools']}
			<div class="">	
			  {loop $item_list $v}
				<a class="button block" href="index.php?do=task&id=$task_id&view=tools">
					<span style=" vertical-align:middle; display:inline-block;"><img src="{$v['small_pic']}" alt="{$v['item_name']}"></span>
					 {$v['item_name']}
				</a>
			{/loop}
			</div>
			{/if}
			
			{if $task_status==8}
			<div class="award box normal2 clearfix mb_10">
				<div class="inner">
					<div class="award_top clearfix">
						<div class="box_header clearfix">
							<h2 class="title">
								中标者
							</h2>
						</div>
						<div class="srewar_user box_detail clearfix">
							<ul class="clearfix pad10">
								{loop $list_work $v}
									<li>
										<a href="index.php?do=seller&id={$v['uid']}" title="{$v['username']}"><!--{userpic($v['uid'],'small')}--></a>
									</li>
								{/loop}
							</ul>
							
						</div>
					</div>
				</div>
				
			 </div>	
			{/if}
			{if $process_can['task_report']}
			<a class="button block mt_10" href="javascript:void(0)"  onclick="report('task','2','{$task_id}','{$task_info['uid']}','{$task_info['username']}');" title="{$_lang['report']}">
         		<span class="icon16 hand-1"></span>
				{$_lang['report']}
         	</a>
			{/if}
			{if $uid!=$task_info['uid']}
			<a class="button block" href="javascript:void(0);" onclick="favor('task_id','task','{$model_code}','{$task_info['uid']}','{$task_id}','{$task_info['task_title']}','{$task_id}')">
				<span class="star-fav-empty  icon16"></span>
				 {$task_info[focus_num]} 次收藏
			</a>
			{/if}
			<a class="button block" href="index.php?do=ajax&view=share&oid=1&title={$task_info['task_title']}" id="share1" onclick="return false;" onmouseover="share(this)" title="{$_lang['share']}">
         		<span class="icon16 share"></span>
				{$_lang['share']}
		 	</a>
			
				
		
   {elseif $view=='work'}
   <!--{template task/taobao/tpl/default/task_work}-->
    {elseif $view=='tools'&&$uid==$task_info['uid']}
   <!--{eval require S_ROOT.'/control/payitem_tools.php'}-->
   {/if}
       <div class="clear"></div>
        
       </div>
   <!---->
   </section>
   <!--end 章节1-->
   <!--任务详情_底部广告-->
   <!--{ad_show(TASKINFO_BOTTOM)}-->
  <!--其他推荐-->
    <aside class="clearfix mb_10">
     <div class="grid_8">
      <div class="box  normal2">
        <div class="inner">
        	<div class="box_header">
          <h3 class="title">{$_lang['view']}<span class="c369"><a href="index.php?do=tasklist&path=B{$model_id}A{$task_info['indus_pid']}" target="_blank">{$indus_p_arr[$task_info['indus_pid']]['indus_name']}</a></span>{$_lang['other_view']}</h3>
      		</div>
           <div class="clearfix box_detail">             

               <ul>
               	{if $related_task['same']}
					{loop $related_task['same'] $v}
                  		<li>
                        <div class="item clearfix">
                        <a href="index.php?do=task&id={$v['task_id']}" target="_blank"><span class="c900">
							{if $v['model_id']==4||$v['model_id']==5||$v['model_id']==12}
                        		{c:$cover_cash[$v['task_cash_coverage']]['start_cove']}-{c:$cover_cash[$v['task_cash_coverage']]['end_cove']}
                        	{else}
                        		{c:$v['task_cash']}
                        	{/if}
                        	</span>{$v['task_title']}</a>
                        </div>
                        </li>	
					{/loop}
				{else}
                   <li class="t_c"><span class="c999">{$_lang['now_no_record']}</span></li>
				{/if}
               </ul>

           </div>
        </div>
      </div>
     </div>
     <div class="grid_8">
      <div class="box  normal2">
       <div class="inner">
       	<div class="box_header">
         <h3 class="title">{$_lang['you_may_insterest']}</h3>
     	</div>
         <div class="clearfix box_detail">
        <ul>
        	
               	{if $related_task['favor']}
					{loop $related_task['favor'] $v}
                  		<li>
                        <div class="item clearfix">
                        <a href="index.php?do=task&id={$v['task_id']}" target="_blank"><span class="c900">
							{if $v['model_id']==4||$v['model_id']==5||$v['model_id']==12}
                        		{c:$cover_cash[$v['task_cash_coverage']]['start_cove']}-{c:$cover_cash[$v['task_cash_coverage']]['end_cove']}
                        	{else}
                        		{c:$v['task_cash']}
                        	{/if}
							</span> {$v['task_title']}</a>
                        </div>
                        </li>	
					{/loop}
				{else}
                   <li class="t_c"><span class="c999">{$_lang['now_no_record']}</span></li>
				{/if}
          </ul>
        </div>
       </div>
      </div>
     </div>
     <div class="grid_8">
       <div class="box  normal2">
         <div class="inner">
         	<div class="box_header">
            <h3 class="title">{$_lang['view_history_record']}</h3>
              </div>
              <div class="clearfix box_detail">
                <ul class="small_list">
               	{if $browing_history}
					{loop $browing_history $v}
						<li>
							<div class="item clearfix">
								<!--{eval list($a,$b) = explode('-',$v[1]);}-->
								<a href="index.php?do=task&id={$v[0]}" target="_blank" title="{$v[2]}"><span class="c900">
									{if $a and $b}
										{c:$a}-{c:$b}
									{else}
										{c:$a}
									{/if}
									</span> {$v[2]}
									</a>
							</div>
						</li>	
					{/loop}
				{else}
                   <li class="t_c"><span class="c999">{$_lang['now_no_record']}</span></li>
				{/if}
				</ul>
               </div>          
         </div>
        </div>
     </div>
    </aside>
    <!--end 其他推荐-->
    </div>
    <!--end 布局框-->     	
   </section>
   <!--end 详细内容区-->
  </div>
<!--end 页面内容区-->
 <!--[if IE]>
<script type="text/javascript" src="resource/js/excanvas.js"></script>
<![endif]-->    

<script type="text/javascript" src="resource/js/jqplugins/visualize/visualize.jQuery.js"></script>
<script type="text/javascript" src="resource/js/jqplugins/jQuery.mouseDelay.js"></script>
<script type="text/javascript">
	In('task','print'); 
	
	var guid  	 	= parseInt($task_info['uid'])+0;
	var task_id		= parseInt($task_id)+0;
	var uid 		= parseInt('{$uid}')+0;
	var task_status = parseInt($task_status)+0;
	var basic_url	= "{$basic_url}";
	
	$(function(){
		var loading = parseInt($(".process li.selected").index()) + 1;
		$(".progress_bar").css("width", loading * 20 + "%");
		if(task_status==9){
			$(".progress_bar").css({width:"100%",background:"grey"}); 
		}
		//图表
	var colors = ['#005ba8','#ff9900',
					'#92d5ea','#ee8310',
					'#8d10ee','#5a3b16',
					'#26a4ed','#f45a90',
					'#e9e744']; 
	$('table.chart_line').addClass('hidden').visualize({type: 'line', height: '200px', width: '450px',colors: colors});
	})
	/** 稿件提交 */
	function workHand() {
		if (check_user_login()) {
			if (uid == guid) {
				showDialog("{$_lang['opera_invalid']}", 'alert', "{$_lang['operate_fail_notice']}", '', 0);
				return false;
			} else {
				showWindow("work_hand", basic_url + '&op=work_hand&step=1', "get", '0');
				return false;
			}
		}
	}
</script>
 <script src="resource/js/uploadify/jquery.uploadify-3.1.min.js" type="text/javascript"></script>
<link href="resource/js/uploadify/uploadify.css" rel="stylesheet">
<!--{template footer}-->	